/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.code.client2server;

import com.baidu.bjf.remoting.protobuf.Codec;
import com.baidu.bjf.remoting.protobuf.ProtobufProxy;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import java.io.IOException;

/**
 *
 * @author dragon
 */
public class RequestExecutSQL {
    public static byte[] EnCode(RequestExecutSQL msg) throws IOException{
        Codec<RequestExecutSQL> Lcode = ProtobufProxy.create(RequestExecutSQL.class);
        return Lcode.encode(msg);
    }
    public static RequestExecutSQL DeCode(byte[] data) throws IOException{
        Codec<RequestExecutSQL> Lcode = ProtobufProxy.create(RequestExecutSQL.class);
        return Lcode.decode(data);
        
    }
    @Protobuf
    private int instructionID;
    /*
    1:insert  2.updete 3 delete
    1
    */
    @Protobuf
    private String sQL;//sql

    public int getInstructionID() {
        return instructionID;
    }

    public void setInstructionID(int instructionID) {
        this.instructionID = instructionID;
    }

    public String getsQL() {
        return sQL;
    }

    public void setsQL(String sQL) {
        this.sQL = sQL;
    }
}
